package com.toolbox.dal.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.toolbox.domain.AbstractBaseDO;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 登录日志表
 * </p>
 *
 * @author Mango
 * @since 2023-12-01
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@TableName(autoResultMap = true, value = "infra_log_login")
public class InfraLogLoginDO extends AbstractBaseDO<InfraLogLoginDO> {

    private static final long serialVersionUID = -2697736588632241950L;

    /**
     * 登录ID
     */
    @TableField("account_id")
    private Long accountId;

    /**
     * 登录账号
     */
    @TableField("username")
    private String username;

    /**
     * IP地址
     */
    @TableField("ip_address")
    private String ipAddress;

    /**
     * 地区
     */
    @TableField("region")
    private String region;

    /**
     * 浏览器
     */
    @TableField("browser")
    private String browser;

    /**
     * 操作系统
     */
    @TableField("operating_system")
    private String operatingSystem;

}
